<?php
/**
* A FlashBanner module that is accessible with alternative image
* Designed For Mambo 4.5.3
* Mambo is Free Software
* This Module is released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html
* version $Revision: 1.0 $
* Date 09/30/2005
**/

defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

// parameters
$moduleclass_sfx = $params->get( 'moduleclass_sfx' );
$bannerurl = $params->get( 'bannerurl');
$name = $params->get( 'name');
$bannerX = $params->get( 'bannerX');
$bannerY = $params->get( 'bannerY');
$bgcolor = $params->get( 'bgcolor');
$banneralturl = $params->get( 'banneralturl');
$altname = $params->get( 'altname');
$banneraltX = $params->get( 'banneraltX');
$banneraltY = $params->get( 'banneraltY');
?>
<object data="<? echo $bannerurl; ?>" type="application/x-shockwave-flash" codebase="<? echo $bannerurl; ?>" width="<? echo $bannerX; ?>" height="<? echo $bannerY; ?>">
        <param name="movie" value="<? echo $bannerurl; ?>" />
        <param name="menu" value="false" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#ededed" />
        <img src="<? echo $banneralturl; ?>" width="<? echo $banneraltX; ?>" height="<? echo $banneraltY; ?>" alt="<? echo $altname; ?>" />
</object>